package inventory;

import impsoft.scripting.ibot.builtin.itemrec.ItemSlot;

public class InventoryResult {
	private boolean successful;
	private ItemSlot itemSlot;

	public InventoryResult(boolean successful, ItemSlot itemSlot) {
		super();
		this.successful = successful;
		this.itemSlot = itemSlot;
	}

	public boolean isSuccessful() {
		return successful;
	}

	@Deprecated
	public ItemSlot getItemSlot() {
		return itemSlot;
	}

	@Override
	public String toString() {
		return "InventoryResult [successful=" + successful + ", itemSlot=" + itemSlot + "]";
	}
}
